package cn.edu.neusoft.mall.service.impl;

import cn.edu.neusoft.mall.Dao.commentDao;
import cn.edu.neusoft.mall.Dao.impl.commentDaoImpl;
import cn.edu.neusoft.mall.entity.Comment;
import cn.edu.neusoft.mall.service.commentService;

import java.util.List;

public class commentServiceimpl implements commentService {
    commentDao comment1 = new commentDaoImpl();

    @Override
    public List<Comment> getCommentList() {
        return comment1.getCommentList();
    }

    @Override
    public int insertComment(String name, String comment) {
        return comment1.insertComment(name,comment);
    }
}
